#ifndef __BUTTON_H__
#define __BUTTON_H__
typedef void (ClickHandler*)() ;

class Button
{
public:
    Button();
    virtual void onClick() = 0;
    virtual ~Button() {};
    void registerClickHandler(ClickHandler handler);
private:
    ClickHandler handler_m;
};


#endif
